package com.yxw.live_vod_boot.service;
//import com.baomidou.mybatisplus.extension.service.IService;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import java.util.List;
import com.yxw.yxnet_cd_center.common.utils.BaseResult;
import com.yxw.live_vod_boot.entity.YxLiveAppealEntity;
import com.yxw.live_vod_facade.dto.YxLiveAppealDTO;
import com.yxw.live_vod_boot.dto.YxLiveAppealAddDTO;
import com.yxw.live_vod_boot.dto.YxLiveAppealQueryDTO;
import org.springframework.web.multipart.MultipartFile;     
    
    
/*** 
*@author Jiaxu.Huang
*@date 2023/12/11 16:42:50
*@update 2023/12/11 16:42:50
**/
//public interface IYxLiveAppealService  extends IService<YxLiveAppealDTO>{
public interface IYxLiveAppealService  
{
    /*** 
    * 增加
    * @param oYxLiveAppealDTO
    * @return BaseResult
    **/
    public BaseResult insertYxLiveAppeal(MultipartFile appealPicture,YxLiveAppealAddDTO oYxLiveAppealAddDTO);
    /*** 
    * 修改
    * @param oYxLiveAppealDTO
    * @return BaseResult
    **/
    public BaseResult updateYxLiveAppealById(YxLiveAppealDTO oYxLiveAppealDTO);
    /*** 
    * 删除
    * @param id
    * @return BaseResult
    **/
    public BaseResult deleteYxLiveAppealById(Long id);
    /*** 
    * 根据id查找
    * @param id
    * @return YxLiveAppealEntity
    **/
    public YxLiveAppealEntity selectYxLiveAppealById(Long id);
    /*** 
    * 自定义查询
    * @param oYxLiveAppealDTO
    * @return List<YxLiveAppealEntity>
    **/
    public List<YxLiveAppealEntity> selectYxLiveAppealList(YxLiveAppealQueryDTO oYxLiveAppealQueryDTO);
    /*** 
    * 自定义统计
    * @param oYxLiveAppealDTO
    * @return Integer
    **/
    public Integer selectYxLiveAppealCount(YxLiveAppealQueryDTO oYxLiveAppealQueryDTO);
    /*** 
    * 自定义分页查询
    * @param currentPage 当前页
    * @param pageSize 分页大小
    * @param oYxLiveAppealDTO
    * @return Page
    **/
    public Page selectYxLiveAppealPage(int currentPage,int pageSize,YxLiveAppealQueryDTO oYxLiveAppealQueryDTO);
}
    

